/*
* Tencent is pleased to support the open source community by making WeUI available.
* 
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
* 
* Licensed under the MIT License (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* 
*       http://opensource.org/licenses/MIT
* 
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/

@import "../../base/fn";


.weui-btn_overlay {
  &.weui-btn_primary {
    color: @LIGHT_FG_0;
    background-color: #fff;
    &:not(.weui-btn_disabled):visited {
      color: @LIGHT_FG_0;
    }
  }

  &.weui-btn_default {
    color: #fff;
    background-color: rgba(247, 247, 247, 0.3);
    &:not(.weui-btn_disabled):visited {
      color: #fff;
    }
  }

  &.weui-btn_warn {
    color: #fff;
    background-color: var(--weui-RED-100);
    &:not(.weui-btn_disabled):visited {
      color: #fff;
    }
  }

  &.weui-btn_disabled,
  &[disabled] {
    color: rgba(247, 247, 247, 0.3);
    background-color: rgba(255, 255, 255, 0.3);
  }
}
